Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material-ui/core

Package Overview
Dependencies
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/core

React components that implement Google's Material Design.

  • 1.5.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3M
decreased by-1.5%
Maintainers
5
Weekly downloads
 
Created

What is @material-ui/core?

The @material-ui/core package is a React component library that implements Google's Material Design. It provides a robust, customizable, and accessible collection of components that can be used to build a wide range of user interfaces, from simple buttons and text fields to complex navigation and layout patterns.

What are @material-ui/core's main functionalities?

Buttons

This feature allows developers to use Material Design styled buttons in their applications, with various customization options such as colors, variants, and sizes.

import React from 'react';
import Button from '@material-ui/core/Button';

function App() {
  return <Button variant='contained' color='primary'>Hello World</Button>;
}

Text Fields

Text Fields are used for inputting text data. The @material-ui/core library provides a Material Design styled TextField component with various styles and customization options.

import React from 'react';
import TextField from '@material-ui/core/TextField';

function App() {
  return <TextField label='Outlined' variant='outlined' />;
}

Grid Layout

The Grid component allows for the implementation of responsive layouts. It uses a 12-column grid system and supports various configuration options for alignment, spacing, and more.

import React from 'react';
import Grid from '@material-ui/core/Grid';

function App() {
  return (
    <Grid container spacing={3}>
      <Grid item xs={12}>
        <div>Full-width</div>
      </Grid>
      <Grid item xs={6}>
        <div>Half-width</div>
      </Grid>
    </Grid>
  );
}

Other packages similar to @material-ui/core

Keywords

FAQs

Package last updated on 19 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc